package com.qzdatasoft.mcp.demo.client;

import org.springframework.ai.mcp.SyncMcpToolCallbackProvider;
import org.springframework.ai.openai.OpenAiChatModel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class DemoAiServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoAiServiceApplication.class, args);
	}

	@Bean
	public PredefinedQuestions predefinedQuestions(OpenAiChatModel model, SyncMcpToolCallbackProvider toolCallbackProvider){
		return new PredefinedQuestions(model, toolCallbackProvider);
	}

}
